<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
		<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
		<jsp:include page="head.html"/>
		<script type="text/javascript" src="calendar.js"></script>
		<link href="calendar.css" rel="stylesheet" type="text/css"></link>
	</head>
	<body>
		<h1>URLAUBSVERWALTUNG</h1><hr></hr>
		<jsp:include page="menu.html"/>
			<div id="inhalt">
				<h2><c:out value="${title}"/></h2>
				<p><c:out value="${message}"/></p>
		 		<form method="post" action="AlleAbwesenheitendesMitarbeiters.s">
					<fieldset style="width:425px">
						<table class="listing" border="0" cellpadding="5" cellspacing="10">
							<colgroup>
								<col class="buttoncell"/>
								<col class="buttoncell"/>
								<col/>
								<col/>
							</colgroup>
							<tbody>
								<tr>
									<td align="right">Mitarbeiter:</td>
									<td>
				    					<select name="idm" size="1">
											<c:forEach items="${allemitarbeiter}" var="mitarbeiter">
												<option value="${mitarbeiter.id}">${mitarbeiter.vorname}&nbsp;${mitarbeiter.nachname}</option>
											</c:forEach> 
										</select>
									</td>
								</tr>
								<tr>
									<td align="right">Art der Abwesenheit:</td>
									<td>
										<select name="ida" size="1">
											<c:forEach items="${alleabwesenheitsarten}" var="abwesenheitsart">
												<option value="${abwesenheitsart.id}">${abwesenheitsart.abwesenheitsart}</option>
											</c:forEach> 
										</select>
									</td>
								</tr>
							</tbody>
						</table>
					</fieldset>
					<fieldset style="width:425px">
						<table class="editing" border="0" cellpadding="5" cellspacing="10">
							<colgroup>
								<col class="attribute"/>
								<col class="value"/>
							</colgroup>
							<tbody>
								<tr>	
									<td align="right">Urlaubstermin Start:</td>
									<td>
										<input type="text" name="datumstart"/>
									</td>
								</tr>
								<tr>
									<td align="right">Urlaubstermin Ende:</td>
									<td>
										<input type="text" name="datumende"/>
									</td>
								</tr>
							</tbody>
						</table>
					</fieldset>
					<table>
						<tr class="submit">
							<td align="right"><input type="submit" value=" Übernehmen "/></td>
							<td align="left"><input type="reset" value="Zurücksetzen"/></td>
						</tr>
					</table>
				</form>
			</div>
			<jsp:include page="menurechts.html"/>
	</body>
</html>

